﻿using HMEngine;
using HMEngine.HMEffects;
using HMEngine.HMObjects;
using Microsoft.Xna.Framework;

namespace HMDemo {
    internal static class HMDemo {
        private static readonly HMGame game = new HMGame(800, 600);
        private static readonly HMQuad quad = new HMQuad("Content/Textures/hazymind", Color.White);
        private static readonly HMShader shader = new HMShader("HMEngineContent/Shaders/TransformColorTexture");

        public static void Main() {
            HMEffectManager.AddEffect("TCT", shader);
            quad.Shader = "TCT";

            HMObjectManager.AddObject("quad", quad);
            game.Run();
        }
    }
}